<template>
    <div id="topHeader">
        <span class="logo">RQW Empire    登录  注册</span>
        <div>
            <el-menu
                    :default-active="activeIndex1"
                    class="el-menu-demo"
                    mode="horizontal"
                    @select="handleSelect"
                    background-color="#545c64"
                    text-color="#fff"
                    active-text-color="#ffd04b">
                <el-menu-item index="1">首页</el-menu-item>
                <el-menu-item index="2">日语学习的分享</el-menu-item>
                <el-menu-item index="3">技术学习的分享</el-menu-item>
                <el-menu-item index="4">工作经历的分享</el-menu-item>
                <el-menu-item index="5">关于我们</el-menu-item>
                <el-menu-item index="6">联系我们</el-menu-item>
            </el-menu>
        </div>
    </div>
</template>

<script>
    export default {
        // name: "header",
        data() {
            return {
                activeIndex1: '1',
            };
        },
        methods: {
            handleSelect(key, keyPath) {
                console.log(key, keyPath);
            }
        }
    }
</script>

<style>
    @import '../../css/Common/header.css';
</style>